package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * Demo视图控制器
 *
 * @author lilu
 * @date 2021/1/10 11:56 下午
 * @since 1.0.0
 */
@RestController
public class DemoController {

    @RequestMapping("/test")
    public String testDemo() {
        return "Welcome to Tomcat!";
    }

}
